package org.xserver.wrap;

import org.xserver.component.core.XServerHttpRequest;
import org.xserver.component.core.XServerHttpResponse;

/**
 * The identify of class is a legal interfaces. The interfaces like
 * java.io.Serializable not support any abstract method, because implement
 * {@link WebInterface} just mean you are ready to create wrap the http or some
 * other protocol, not mean the wrapper class should accept http request or have
 * response something. This is prerequisite. Use Http protocol to request and
 * response, class implement HttpInterface should use two parameters,
 * {@link XServerHttpRequest} and {@link XServerHttpResponse}
 * <p>
 * <strong>Time Event:</strong>
 * <ul>
 * <li>At spring of 2013, the server just support http.</li>
 * <li>At spring of 2014, the server add support for websocket.</li>
 * </ul>
 * 
 * More support protocol, More complex system build. The import criterion is
 * keeping each protocol as independent, modularized and pluggable. Don't mix
 * into one.
 * 
 * @author idoldefine
 * 
 */
public interface WebInterface {
}
